package com.zx._10_设计模式.结构型模式.装饰者模式;

public class DeckerClass implements CommonClass {

    private BaseClass baseClass;

    public DeckerClass(BaseClass baseClass) {
        this.baseClass = baseClass;
    }

    @Override
    public String hello() {
        return "hello, " + baseClass.hello();
    }

}
